package com.crm.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysDept implements Serializable {
    //部门id
    private Long deptId;
    //父部门id
    private Long parentId;
    //祖级列表
    private String ancestors;
    //部门名称
    private String deptName;
    //显示顺序
    private Integer orderNum;
    //负责人
    private String leader;
    //联系电话
    private  String phone;
    //邮箱
    private String email;
    //部门状态
    private String status;
    //删除标志
    private String delFlag;
    //创建者
    private String createBy;
    //创建时间
    private LocalDateTime createTime;
    //更新者
    private String updateBy;
    //更新时间
    private LocalDateTime updateTime;

}
